package com.castle.fortress.admin.jmreport.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.castle.fortress.admin.jmreport.dto.JimuReportDto;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.castle.fortress.admin.jmreport.entity.JimuReportEntity;
import java.util.Map;
import java.util.List;
/**
 * 在线excel设计器Mapper 接口
 *
 * @author castle
 * @since 2023-10-11
 */
public interface JimuReportMapper extends BaseMapper<JimuReportEntity> {

	List<JimuReportEntity> queryList(@Param("map")Map<String, Long> pageMap, @Param("jimuReportEntity") JimuReportEntity jimuReportEntity);


    List<JimuReportEntity> selectPageExtends(@Param("map")Map<String, Long> pageMap, @Param("jimuReportEntity")JimuReportDto jimuReportDto, @Param("userName") String userName, @Param("userId") Long userId, @Param("depts") List<Long> depts);

    Long countExtends(@Param("jimuReportEntity")JimuReportDto jimuReportDto, @Param("userName") String userName, @Param("userId") Long userId, @Param("depts") List<Long> depts);

    Long delById(@Param("id")String id);

    Long delByIds(@Param("ids")List<String> ids);
}
